﻿using System.Collections.Generic;
using WebProject.Core.Models;

namespace WebProject.Core.Service
{
    public interface IProductionService
    {
        int Add(Production production);

        bool Remove(Production production);

        bool Remove(int id);

        bool Update(Production production);

        IList<Production> GetAllProductions(bool isOnlyDisplayOnIndex);

        Production GetProductionById(int id);

        IList<Production> GetProductionsByTypeId(int productionTypeId);

        IList<Production> GetProductionsByType(ProductionType productionType);
    }
}
